<%@ page import="java.util.Date" %>
<%@ page import="java.io.PrintWriter" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" buffer="8kb" %>
<html>
<head>
    <title>jsp内置对象</title>
</head>
<body>
    <ul>
        <li>request</li>
        <li>response</li>
        <li>session</li>
        <li>application</li>
        <li>config</li>
        <li>exception</li>
        <li>out:输出</li>
        <li>pageContext：页面上下文</li>
        <li>page</li>
    </ul>

    <%
        //out的使用: 1 JspWriter (字符流)
        String name="李四";
        int age=25;
        Date date=new Date();
        out.println(name+"<br/>");
        out.println(age+"<br/>");
        out.println(date+"<br/>");
        out.flush();
        //response.getWrite();  1 PrintWriter 打印流
        PrintWriter out2 = response.getWriter();
        out2.println("祝大家程序员狂欢节快乐!!!");



    %>
</body>
</html>
